#include <stdio.h>

int swarp(int* a,int* b)
{
	int tmp = *a;
	*a = *b;
	*b = tmp;

	return 2;
}
int main()
{
	int a = 10;
	int b = 5;
	printf("a=%d b=%d\n", a, b);
	/*swarp (a,b);*/
	int set=swarp(&a,&b);
	printf("a=%d b=%d\n", a, b);
	return 0;
}